package com.yihr.yrd.dao.mapper;

import com.yihr.yrd.dao.model.YrdCustomer;
import com.yihr.yrd.dao.model.YrdCustomerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YrdCustomerMapper {
    long countByExample(YrdCustomerExample example);

    int deleteByExample(YrdCustomerExample example);

    int deleteByPrimaryKey(Long msgId);

    int insert(YrdCustomer record);

    int insertSelective(YrdCustomer record);

    List<YrdCustomer> selectByExample(YrdCustomerExample example);

    YrdCustomer selectByPrimaryKey(Long msgId);

    int updateByExampleSelective(@Param("record") YrdCustomer record, @Param("example") YrdCustomerExample example);

    int updateByExample(@Param("record") YrdCustomer record, @Param("example") YrdCustomerExample example);

    int updateByPrimaryKeySelective(YrdCustomer record);

    int updateByPrimaryKey(YrdCustomer record);
}